import request from '@/http'

export const getCourseList = (courseData) => {
    return request({
        url: '/course-management/course-reservation',
        method: 'post',
        data: courseData
    })
}

export const getlength=()=>{
    return request({
        url: '/course-management/course-list/getlength',
        method: 'get'
    })
}

export const getOnePageDate=(currentPage)=>{
    return request({
        url: '/course-management/course-list/getOnePageDate',
        method: 'post',
        data: {page:currentPage}
    })
}